// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import iview from 'iview'//UI框架
import 'iview/dist/styles/iview.css'//UI框架样式
Vue.use(iview)

//导入请求接口方法
Vue.prototype.$axios = axios

/*global Vue*/
const GLOBAL = require('./config/config.js')
Vue.prototype.GLOBAL = GLOBAL

import LS from './config/localStorage.js'
Vue.prototype.LS = LS

//导入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
